package com.myplans.server.util;

import org.apache.log4j.Logger;

import com.myplans.ServiceLocator;

public final class ServiceLoader {

	private static Logger logger = Logger.getLogger(ServiceLoader.class);

	private ServiceLoader() {
	}

	static {
		String beanId = Util.getBeanRefFactory();
		ServiceLocator.instance().init(beanId + ".xml", beanId);
	}

	public static ServiceLocator getServiceInstance() {
		return ServiceLocator.instance();
	}

}
